package com.yonyou.cyxdms.basedata.service.dto;

import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 修改车辆销售指导价
 *
 * @author ysj
 * @since 14:11 2019-09-21
 */
@ApiModel(value = "修改车辆销售指导价", description = "修改车辆销售指导价")
public class CarPriceDTO extends DMSBaseDTO implements Serializable {
    @NotBlank(message = "产品ID不能为空")
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @NotBlank(message = "销售指导价不能为空")
    @ApiModelProperty(value = "销售指导价")
    private Double vehiclePrice;

    @ApiModelProperty(value = "销售底价")
    private Double salesBasePrice;

    @ApiModelProperty(value = "储备高限")
    private Integer maxReserve;

    @ApiModelProperty(value = "储备低限")
    private Integer minReserve;

    @ApiModelProperty(value = "整车加价率")
    private Double vehicleMarkupRate;

    @ApiModelProperty(value = "车辆分类ID")
    private Long baseId;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Double getVehiclePrice() {
        return vehiclePrice;
    }

    public void setVehiclePrice(Double vehiclePrice) {
        this.vehiclePrice = vehiclePrice;
    }

    public Integer getMaxReserve() {
        return maxReserve;
    }

    public void setMaxReserve(Integer maxReserve) {
        this.maxReserve = maxReserve;
    }

    public Integer getMinReserve() {
        return minReserve;
    }

    public void setMinReserve(Integer minReserve) {
        this.minReserve = minReserve;
    }

    public Double getSalesBasePrice() {
        return salesBasePrice;
    }

    public void setSalesBasePrice(Double salesBasePrice) {
        this.salesBasePrice = salesBasePrice;
    }

    public Double getVehicleMarkupRate() {
        return vehicleMarkupRate;
    }

    public void setVehicleMarkupRate(Double vehicleMarkupRate) {
        this.vehicleMarkupRate = vehicleMarkupRate;
    }

    public Long getBaseId() {
        return baseId;
    }

    public void setBaseId(Long baseId) {
        this.baseId = baseId;
    }

    @Override
    public String toString() {
        return "CarPriceDTO{" +
                "productId=" + productId +
                ", vehiclePrice=" + vehiclePrice +
                ", baseId=" + baseId +
                ", salesBasePrice='" + salesBasePrice + '\'' +
                ", maxReserve='" + maxReserve + '\'' +
                ", minReserve='" + minReserve + '\'' +
                ", vehicleMarkupRate=" + vehicleMarkupRate +
                '}';
    }
}
